package insight.google.game.era.client.proxy;

import org.directwebremoting.proxy.ScriptProxy;

public class HistoryClientProxyImpl implements HistoryClientProxy {

	/**
	 * 
	 */
	protected static HistoryClientProxyImpl instance = new HistoryClientProxyImpl();
    
    public static HistoryClientProxyImpl getInstance(){
        return instance;
    }
	
	@Override
	public void showDetailRoomHistory(ScriptProxy userProxy,
			String jsComponentId, Object param) {
		

	}

	@Override
	public void showDetailUserHistory(ScriptProxy userProxy,
			String jsComponentId, Object param) {
		// TODO Auto-generated method stub

	}

	@Override
	public void showRoomHistory(ScriptProxy userProxy, String jsComponentId,
			Object param) {
		userProxy.addFunctionCall("componentExecFunctionWithCall",jsComponentId,"showRoomHistory",param);

	}

	@Override
	public void showUserHistory(ScriptProxy userProxy, String jsComponentId,
			Object param) {
		userProxy.addFunctionCall("componentExecFunctionWithCall",jsComponentId,"showUserHistory",param);

	}

}
